<template>
  <main>
    <RouterView />
  </main>
</template>
<script setup>
import { getToken } from "@/api";
import { onMounted } from "vue";

window.addEventListener("resize", () => {
  location.reload();
});

onMounted(()=>{
  getToken().then(res=>{
    console.log(res);
  })
})
</script>
